package org.qiyu.live.provider.service;

/**
 * @Author: WangJiYou
 * @Date: 2025/01/15/14:58
 * @Description:
 */
public interface ImTokenService {

    /**
     * 创建用户登录im服务的token
     */
    String createImLoginToken(Long userId, int appId);

    /**
     * 根据token检索用户id
     */
    Long getUserIdByToken(String token);
}
